<template>
<uni-shadow-root class="search-index"><view class="search">
  <view class="search-in">
    <icon type="search"></icon> 搜索
  </view>
</view></uni-shadow-root>
</template>

<script>

global['__wxVueOptions'] = {components:{}}

global['__wxRoute'] = 'search/index'
// components/search/index.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {

  },

  /**
   * 组件的初始数据
   */
  data: {

  },

  /**
   * 组件的方法列表
   */
  methods: {

  }
})
export default global['__wxComponents']['search/index']
</script>
<style platform="mp-weixin">
.search{
  background-color: #EA4350;
  height: 100rpx;
  display: flex;
  justify-content: center;
  align-items: center;
}
.search-in{
  background-color: #fff;
  width: 700rpx;
  height: 80rpx;
  border-radius: 5rpx;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slider{
  border:1rpx solid #f00;
}
</style>